[INFO] fetching crate drogue-mpu-6050 0.1.0...
[INFO] building drogue-mpu-6050-0.1.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate drogue-mpu-6050 0.1.0 into /workspace/builds/worker-12/source
[INFO] validating manifest of crates.io crate drogue-mpu-6050 0.1.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate drogue-mpu-6050 0.1.0
[INFO] finished tweaking crates.io crate drogue-mpu-6050 0.1.0
[INFO] tweaked toml for crates.io crate drogue-mpu-6050 0.1.0 written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded drogue-embedded-timer v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e71acbac0761cb962ff41d357482c6023e5b0668a1dce437eb86d98622f26ad
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0e71acbac0761cb962ff41d357482c6023e5b0668a1dce437eb86d98622f26ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e71acbac0761cb962ff41d357482c6023e5b0668a1dce437eb86d98622f26ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e71acbac0761cb962ff41d357482c6023e5b0668a1dce437eb86d98622f26ad", kill_on_drop: false }`
[INFO] [stdout] 0e71acbac0761cb962ff41d357482c6023e5b0668a1dce437eb86d98622f26ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f426018bb7fa4b13be948eff8478b36f45be6415060d6d524c57e7b8b3ca8cf
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7f426018bb7fa4b13be948eff8478b36f45be6415060d6d524c57e7b8b3ca8cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortex-m v0.7.2
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m v0.6.7
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling generic-array v0.13.3
[INFO] [stderr]    Compiling volatile-register v0.2.0
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.5
[INFO] [stderr]    Compiling as-slice v0.1.5
[INFO] [stderr]    Compiling aligned v0.3.4
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling embedded-time v0.10.1
[INFO] [stderr]    Compiling drogue-embedded-timer v0.2.1
[INFO] [stderr]    Compiling drogue-mpu-6050 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::marker::PhantomData`
[INFO] [stdout]   --> src/sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::marker::PhantomData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         value |= (1 << 0);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |         value |= (filter as u8);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         value |= (1 << 2);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |         value |= (1 << 6);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         value |= (1 << 3);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if self.temp  { byte |= (1 << 7) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if self.xg    { byte |= (1 << 6) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if self.yg    { byte |= (1 << 5) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if self.zg    { byte |= (1 << 4) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if self.accel { byte |= (1 << 3) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if self.slv2  { byte |= (1 << 2) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if self.slv1  { byte |= (1 << 1) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if self.slv0  { byte |= (1 << 0) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loops`
[INFO] [stdout]    --> src/sensor.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error<I2c>> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/sensor.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sensor.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `GyroBiases`
[INFO] [stdout]   --> src/gyro.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct GyroBiases {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/sensor.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.write_register(Register::PwrMgmt1, value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/firmware_loader.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.set_bank(bank);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.45s
[INFO] running `Command { std: "docker" "inspect" "7f426018bb7fa4b13be948eff8478b36f45be6415060d6d524c57e7b8b3ca8cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f426018bb7fa4b13be948eff8478b36f45be6415060d6d524c57e7b8b3ca8cf", kill_on_drop: false }`
[INFO] [stdout] 7f426018bb7fa4b13be948eff8478b36f45be6415060d6d524c57e7b8b3ca8cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 437e945044a12735f75145378964b02b92bb8ac2752375a114918a8c5ec7cb47
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "437e945044a12735f75145378964b02b92bb8ac2752375a114918a8c5ec7cb47", kill_on_drop: false }`
[INFO] [stderr]    Compiling drogue-mpu-6050 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::marker::PhantomData`
[INFO] [stdout]   --> src/sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::marker::PhantomData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         value |= (1 << 0);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |         value |= (filter as u8);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         value |= (1 << 2);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |         value |= (1 << 6);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         value |= (1 << 3);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if self.temp  { byte |= (1 << 7) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if self.xg    { byte |= (1 << 6) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if self.yg    { byte |= (1 << 5) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if self.zg    { byte |= (1 << 4) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if self.accel { byte |= (1 << 3) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if self.slv2  { byte |= (1 << 2) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if self.slv1  { byte |= (1 << 1) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if self.slv0  { byte |= (1 << 0) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loops`
[INFO] [stdout]    --> src/sensor.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error<I2c>> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/sensor.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sensor.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `GyroBiases`
[INFO] [stdout]   --> src/gyro.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct GyroBiases {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/sensor.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.write_register(Register::PwrMgmt1, value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/firmware_loader.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.set_bank(bank);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::marker::PhantomData`
[INFO] [stdout]   --> src/sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::marker::PhantomData;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:118:18
[INFO] [stdout]     |
[INFO] [stdout] 118 |         value |= (1 << 0);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:148:18
[INFO] [stdout]     |
[INFO] [stdout] 148 |         value |= ((scale as u8) << 3);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:158:18
[INFO] [stdout]     |
[INFO] [stdout] 158 |         value |= (filter as u8);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         value |= (1 << 2);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:170:18
[INFO] [stdout]     |
[INFO] [stdout] 170 |         value |= (1 << 6);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 |         value |= (1 << 7);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/sensor.rs:192:18
[INFO] [stdout]     |
[INFO] [stdout] 192 |         value |= (1 << 3);
[INFO] [stdout]     |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |         if self.temp  { byte |= (1 << 7) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:37:33
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if self.xg    { byte |= (1 << 6) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:38:33
[INFO] [stdout]    |
[INFO] [stdout] 38 |         if self.yg    { byte |= (1 << 5) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if self.zg    { byte |= (1 << 4) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:40:33
[INFO] [stdout]    |
[INFO] [stdout] 40 |         if self.accel { byte |= (1 << 3) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 |         if self.slv2  { byte |= (1 << 2) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         if self.slv1  { byte |= (1 << 1) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/fifo.rs:43:33
[INFO] [stdout]    |
[INFO] [stdout] 43 |         if self.slv0  { byte |= (1 << 0) }
[INFO] [stdout]    |                                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loops`
[INFO] [stdout]    --> src/sensor.rs:136:39
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn calibrate_accel(&mut self, loops: u8) -> Result<(), Error<I2c>> {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_loops`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/sensor.rs:222:17
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/sensor.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let mut value = self.read_registers(Register::FifoCount_H, &mut buf)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `GyroBiases`
[INFO] [stdout]   --> src/gyro.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct GyroBiases {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/sensor.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         self.write_register(Register::PwrMgmt1, value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/firmware_loader.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         self.set_bank(bank);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.65s
[INFO] running `Command { std: "docker" "inspect" "437e945044a12735f75145378964b02b92bb8ac2752375a114918a8c5ec7cb47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "437e945044a12735f75145378964b02b92bb8ac2752375a114918a8c5ec7cb47", kill_on_drop: false }`
[INFO] [stdout] 437e945044a12735f75145378964b02b92bb8ac2752375a114918a8c5ec7cb47
